package com.ujiuye.service;

import com.ujiuye.entity.User;
import com.ujiuye.util.PageBean;

public interface UserService {

    User checkUser(String username, String password);

    /*
  分页+组合条件查询用户业务
*/
    PageBean<User> findAllByPage(String currentPage, String pageSize, String
            name);

    int addUser(User user);

    int delAll(String uids);

    int updateUser(User user);

    User checkPhone(String tel);


    int registerUser(String name, String password, String phone);


    User beforeLogin(String password, String phone);


}

